package com.example.patentback.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class RegisterDto {

    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String Password;
    @NotBlank(message = "重复密码不能为空")
    private String Password1;
}
